package com.yunfangdata.mapper;

import com.yunfangdata.domain.LeaveStu;
import com.yunfangdata.query.LeaveStuQueryObject;

import java.util.List;

public interface LeaveStuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LeaveStu record);

    LeaveStu selectByPrimaryKey(Long id);

    List<LeaveStu> selectAll();

    int updateByPrimaryKey(LeaveStu record);

    int queryForCount(LeaveStuQueryObject qo);

    List<LeaveStu> queryForList(LeaveStuQueryObject qo);

    void changeState(Long id);
}